Specify AHS Variables pulled by RELATIONAL TABLE:
In [66]:
# Import Dependencies #
import openpyxl
import pandas as pd
import os
import csv
In [38]:
# Pull in Relational Table: tTypec #
df_type = os.path.join(os.getcwd(),'/Users/veronicahelms/Desktop/Untitled Folder/AHS/tTypec.csv')
print df_type
In [64]:
data_csv_type = pd.read_csv(df_type, index_col=None)
list(data_csv_type.columns.values)
Out[64]:
In [65]:
#data_csv_type [['BUILT','CONTROL','CONTROLM']]
data_csv_type.head(5)
Out[65]:
In [41]:
# Pull in Relational Table: tNewHouse #
df_newhouse = os.path.join(os.getcwd(),'/Users/veronicahelms/Desktop/Untitled Folder/AHS/tnewhouse.csv')
print df_newhouse
In [71]:
data_csv_newhouse = pd.read_csv(df_newhouse, index_col=None)
list(data_csv_newhouse.columns.values)
data_csv_newhouse.head(5)
Out[71]: